﻿using System;
using System.Web;
using Castle.ActiveRecord;
using Castle.ActiveRecord.Framework.Config;
using GasModel.Gas;

/// <summary>
/// Summary description for Inicializer
/// </summary>
public class Inicializer : HttpApplication
{
	protected void Application_Start(object sender, EventArgs e)
	{
		ActiveRecordStarter.Initialize(typeof(Veiculo).Assembly, ActiveRecordSectionHandler.Instance);

		// If you want to let ActiveRecord create the schema for you:
		ActiveRecordStarter.CreateSchema();
	}
}
